package com.itheima.day13.thread.test2;

public class Test {
    public static void main(String[] args) {
        MyRubbable mr1 = new MyRubbable();
        Thread t1 = new Thread(mr1);
        t1.start();

        // new Thread(new MyRubbable()).start();
        MyRubbable mr2 = new MyRubbable();
        Thread t2 = new Thread(mr2);
        t2.start();

    }
}
